<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11"
                        style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/budget/costapply" aria-expanded="false">预算费用管理 </a></li>
                        <li class="active"><a href=/app/core/budget/costapply?view=create
                                              aria-expanded="true">预算费用申请</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                <form class="form-horizontal" id="form">
                                    <table class="table table-hover table-striped table-bordered">
                                        <tr>
                                            <td width="20%">申请标题：</td>
                                            <td width="80%" colspan="3"><input placeholder="申请标题" type="text"
                                                                               name="title" id="title" maxlength="50"
                                                                               class="form-control"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">申请额度:</td>
                                            <td><input placeholder="申请额度" type="number" name="totalCost" id="totalCost"
                                                       maxlength="50" class="form-control"></td>
                                            <td width="20%">支付时间:</td>
                                            <td><input readonly="readonly" placeholder="支出时间" type="text" name="payTime"
                                                       id="payTime" maxlength="50" class="form-control"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">关联项目:</td>
                                            <td><input readonly="readonly" placeholder="关联项目" type="text"
                                                       name="projectId" id="projectId" maxlength="50"
                                                       class="form-control">
                                                <div id="menuContent1" class="menuContent">
                                                    <ul id="ztree1" class="ztree"></ul>
                                                </div>
                                            </td>
                                            <td width="20%">费用科目:</td>
                                            <td><input readonly="readonly" placeholder="费用科目" type="text"
                                                       name="budgetAccount" id="budgetAccount" maxlength="50"
                                                       class="form-control">
                                                <div id="menuContent" class="menuContent">
                                                    <ul id="menuTree" class="ztree"></ul>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">申请人：</td>
                                            <td width="30%"><input placeholder="申请人" type="text" name="applyUser"
                                                                   id="applyUser" class="form-control"
                                                                   readonly="readonly" opt-id="applyUser"
                                                                   onclick="selectUser(this,'false');"></td>
                                            <td width="20%">审批人：</td>
                                            <td width="30%"><select id="approvalUser" name="approvalUser"
                                                                    class="form-control"></select></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">相关附件：</td>
                                            <td width="80%" colspan="3">
                                                <div id="show_attach"></div>
                                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value=""
                                                                                                                          type="file"
                                                                                                                          onchange="fileUpLoad('budget','attach');"
                                                                                                                          hidefocus="true"
                                                                                                                          maxlength="1"
                                                                                                                          id="attach"
                                                                                                                          name="attach"
                                                                                                                          class="addfile"
                                                                                                                          multiple="multiple"></a>
                                                <a class="addfile" style="width: 200px;" href="#" op_id="attach"
                                                   onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">费用事由</td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                <div id="remark" name="remark" style="height: 300px"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" align="center"><a href="javascript:void(0);"
                                                                              class="btn btn-primary js-add-save">申&nbsp;&nbsp;请</a>
                                            </td>
                                        </tr>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/budget/cost/costapply.js"></script>
</body>
</html>
